import { combineSlices, configureStore } from '@reduxjs/toolkit'
import counterReducer from './modules/counterStore'
import asyncListReducer from './modules/asyncListStore'

// 将导出的counterReducer,统一处理管理
const rootReducer = combineSlices({ counterReducer, asyncListReducer });

export default configureStore({
    reducer: rootReducer
})
